package com.bsoft.ecommerce.dao;

import com.bsoft.ecommerce.entity.EcommerceAddress;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

  // dao 接口定义
public interface EcommerceAddressDao  extends JpaRepository<EcommerceAddress ,Long> {
       //根据id进行查询
       List<EcommerceAddress> findByUserId(Long userId);
       //
}
